html,
body {
    height: 100%;
}
#box{
    height: 100%;
    display: flex;
    flex-direction: column;
}

#box header {
    width: 100%;
    height: 1.25rem;
    background-color: #dd403b;
}

#box header h6 {
    text-align: center;
    color: white;
    line-height: 1.25rem;
    font-size: .375rem;
}
#box .box1{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 1.25rem;
    background-color: #f6f6f6;
}
#box .box1 span{
    display: inline-block;
    width: 1.40625rem;
    height: .46875rem;
    margin:  0 .46875rem;
}
#box .box1 input{
    text-align: center;
    width: 9.21875rem;
    height: .78125rem;
    margin-right: .3125rem;
}
/* 中间区域 */
#box main {
    flex: 1;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
}
#box main .box2{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 7.8125rem;
    margin: .46875rem .3125rem;
}
#box main .box2 .p1 span:first-child{
    display: inline-block;
    width: 6.25rem;
    color: black;
    font-size: .40625rem;
    margin-right: .3125rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#box main .box2 .p1 span:last-child{
    color: red;
}
#box main .box2 .p2{
    display: flex;
    justify-content: space-between;
}
#box main .box2 .p2{
    color:#6a6a6a;
}
#box main .box2 .p2 span:first-child{
    display: inline-block;
    width: 6.25rem;
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#box main .box2 .p3 span{
    display: inline-block;
    padding: .078125rem;
    border-radius: 10%;
    margin-right: .15625rem;
    border: .015625rem solid #7a9d9f;
    color: #7a9d9f; 
}
#box main .box2 .p4 span:first-child{
    display: inline-block;
    padding: .078125rem;
    border-radius: 10%;
    margin-right: .15625rem;
    border: .015625rem solid #f2940c;
    color: white;
    background-color: #f2940c; 
}
#box main .box2 .p4 span:last-child{
    color: #6a6a6a;
}
hr{
    margin-top: 10px;
}
/* 尾页 */
#box footer {
    width: 100%;
    height:.9375rem;
    display: flex;
    justify-content: space-around;
}

#box footer a {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: center;
}
#box footer a:nth-of-type(2){
    color: red;
}